package cn.nkpro.elcube.task.model;

import org.camunda.bpm.engine.impl.form.type.AbstractFormFieldType;
import org.camunda.bpm.engine.variable.value.TypedValue;

/**
 * @Description :新加的流程图类型
 * @Author : YF
 * @Date: 2022-05-20 16:42  //时间
 */

public class SelectFormType extends AbstractFormFieldType {
    public SelectFormType() {
        super();
    }

    @Override
    public Object getInformation(String key) {
        return super.getInformation(key);
    }

    @Override
    public String getName() {
        return "SelectFormType";
    }

    @Override
    public TypedValue convertToFormValue(TypedValue typedValue) {
        return typedValue;
    }

    @Override
    public TypedValue convertToModelValue(TypedValue typedValue) {
        return typedValue;
    }

    @Override
    public Object convertFormValueToModelValue(Object o) {
        return o;
    }

    @Override
    public String convertModelValueToFormValue(Object o) {
        return (String)o;
    }
}